<script lang="ts" setup>
	interface IProps {
		name: string;
	}

	defineOptions({
		name: 'DetailName'
	});

	const props = defineProps<IProps>()
</script>

<template>
	<div class="name-bd">
		<span class="iconfont icon-name"></span>
		<span class="name-text">{{ props.name }}</span>
	</div>
</template>

<style lang="scss" scoped>
	.name-bd {
		display: flex;
		height: .44rem;
		padding: .03rem .15rem 0;
		background-color: #fff;
		border-bottom: 1px solid #ddd;
		line-height: .39rem;
		box-sizing: border-box;

		.icon-name {
			font-size: .18rem;
			color: #000;
		}

		.name-text {
			font-size: .14rem;
			margin-left: .1rem;
		}
	}
</style>
